var checkOut = new Vue({
    el: "#checkOut",
    data: {
        consigneeName: "",
        consigneePhone: "",
        consigneeAdress: ""
    },
    methods: {
        submit(){
            axios.post(PATH+"/order/addOrder",{
                consigneeName:this.consigneeName,
                consigneePhone:this.consigneePhone,
                consigneeAdress:this.consigneeAdress
            }).then((resp)=>{
                if (resp.data.code==='00000'){
                    layer.msg("下单成功！！")
                    setTimeout(()=>{window.location=PATH+"/front/index.jsp"},1500);
                }
            })
        }
    },
    mounted(){

    }

})